<?php 
$show_validator = true; 
include TMPL_PATH.'public/header.phtml';
?>
<style type='text/css'>
.pic {
    float: left;
    margin-right: 10px;
    text-align: center;
}
.pic img {
    border: 3px solid #EFEFED;
    cursor: pointer;
}
.pic img.current {
    border: 3px solid #FF6600;
}
</style>
<script type="text/javascript"> 
<!--
	$(function(){
		$.formValidator.initConfig({formid:"myform",autotip:true,onerror:function(msg,obj){window.top.art.dialog({content:msg,lock:true,width:'200',height:'50'}, function(){this.close();$(obj).focus();})}});
		$("#content").formValidator({onshow:"请填写备注",onfocus:"请填写备注",oncorrect:"输入正确"}).inputValidator({min:2,onerror:"请填写备注"});
	})
//-->
</script>
<div class="subnav">
    <div class="content-menu ib-a blue line-x">
    		<a href='<?php echo U('tenancy/lists');?>' ><em>租赁预约列表</em></a><span>|</span>
        <a href='javascript:;' class="on" ><em>预约回复</em></a></div>
</div>
<div class="pad_10">
<div class="col-tab">

	<form action="__SELF__" method="post" id="myform">
	<div id="div_setting_1" class="contentList pad-10">
		<table width="100%" class="table_form contentWrap">
		<tr>
		<td width="80">姓名</td> 
		<td><?php echo $tenInfo['name'];?><?php if($tenInfo['sex']==1){ echo "(先生)";}else{ echo "(女士)";}?></td>
		</tr>
		<tr>
		<td>联系方式</td>
		<td><?php echo $tenInfo['phone'];?></td>
		</tr>
    
		<tr>
		<td>预约时间</td>
		<td><?php echo date('Y-m-d H:i:s', $tenInfo['sub_time']);?></td>
		</tr>
		<tr>
		<td>评论状态</td>
		<td>
		
        	<input type="radio" name="statue" value="1" <?php echo ($tenInfo['statue']==1) ? 'checked' : '';?>/>未处理 
       	 	<input type="radio" name="statue" value="2" <?php echo ($tenInfo['statue']==2) ? 'checked' : '';?> />已处理
        </td>
		</tr>
		
		</table>
	</div>
	<div id="div_setting_2" class="contentList pad-10">
	

	  <div class="bk15"></div> 

	  <table width="100%"  class="table_form">
	  <tr>
	    <th width="120">备注：</th>
	    <td class="y-bg"><textarea name="content" id="content" cols="50" rows="5" style="width: 595px; height: 100px;"><?php echo $tenInfo['content'];?></textarea></td>
		</tr>
	  </table>
      <input type="hidden" name="id" value="<?php echo $tenInfo['id'];?>" />
	  <div class="bk15"></div> 
	  <input name="dosubmit" type="submit" value="提交" class="button">
	 

	</div>
    </form>
</div>
</div>
</body>
</html>